"""
.. module:: Calendar
   :platform: Unix, Windows
   :synopsis: This is the base class for all holiday calendars
.. moduleauthor:: Nick Leaton <nickle@gmail.com>

"""

from Entities.Entity import Entity

class Calendar (Entity):
    '''
    Calendar to contain holiday dates
    '''
    
    def __init__  (self, code, name):
        Entity.__init__ (self)
        self.code      = code
        self.name      = name
    
    def isholiday (self, when):
        '''
        Is when a holiday in the calendar?
        '''
        pass
    